import $http from '../utils/request.js'

export function getSchoolList(query) {
	return $http.httpRequest({
		url: '/miniProgramForApplet/school/listSchoolForApplet',
		data:query
	})
}

export function updateSchoolData(query) {
	return $http.httpRequest({
		url: '/miniProgramForApplet/school/updateSchoolData',
		methods:'POST',
		headers: 'application/json',
		data:query
	})
}